import { BaseEntity } from '../../base/entity/base';
import { Column, Entity, Index, DeleteDateColumn } from 'typeorm';

/**
 * 学生档案信息
 */
@Entity('student_studentprofile')
export class StudentStudentProfileEntity extends BaseEntity {
  @Index()
  @Column({ comment: '学生ID' })
  studentId: number;

  @Column({ comment: '图片链接', nullable: true })
  picUrl: string;

  @Column({ comment: '备注', nullable: true })
  remark: string;

  @Column({ comment: '创建人ID', nullable: true })
  createUserId: number;

  @Column({ comment: '修改人ID', nullable: true })
  updateUserId: number;

  @DeleteDateColumn({ name: 'delete_date', comment: '删除时间', nullable: true })
  deleteDate: Date;
}
